package com.hk.card;

public class TakenCardUser extends TakenCardSuper{
	private static TakenCardUser cardsofuser;
	
	public static TakenCardUser getCardsOfUser() {
		if(cardsofuser==null) {		cardsofuser = new TakenCardUser();		}
		return cardsofuser;
	}
	@Override
	public void SetBounds() {
		super.cardList.get(CardCount++).SetBounds(200 + (CardCount * 50), 350, 100, 150);
	}
	public void CardSplit() {
		CardCount--;
		TakenCardUserSplit tcus = TakenCardUserSplit.getCardsOfSplit();
		tcus.SetCard(getIcon(CardCount), getNumber(CardCount));
		getLabel(CardCount).setBounds(0,0,0,0);
	}
}
